<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>Users &laquo; Admin</title>
    <link rel="stylesheet" href="../assets/vendors/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="../assets/vendors/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../assets/vendors/nprogress/nprogress.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    @@include('../comm/admin/comm.html')
    <script>
        NProgress.start()
    </script>

    <div class="main">
        <!-- 头部退出 -->
        @@include('../comm/top.html')
        <div class="container-fluid">
            <div class="page-title">
                <h1>用户</h1>
            </div>
            <!-- 有错误信息时展示 -->
            <!-- <div class="alert alert-danger">
        <strong>错误！</strong>发生XXX错误
      </div> -->
            <div class="row">
                <div class="col-md-4">
                    <form>
                        <h2>添加新用户</h2>
                        <div class="form-group">
                            <label>头像</label>
                            <div class="form-group">
                                <label class="form-image">
                                <input id="avatar" type="file">
                                <img src="../assets/img/default.png">
                                <i class="mask fa fa-upload"></i>
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label>邮箱</label>
                            <input class="form-control email" type="email" placeholder="请输入邮箱">
                        </div>
                        <div class="form-group">
                            <label>昵称</label>
                            <input class="form-control name" type="text" placeholder="请输入昵称">
                        </div>
                        <div class="form-group">
                            <label>密码</label>
                            <input class="form-control pwd" type="password" placeholder="请输入密码">
                        </div>
                        <div class="form-group status">
                            <div class="radio-inline">
                                <label><input type="radio">未激活</label>
                            </div>
                            <div class="radio-inline">
                                <label><input type="radio">激活</label>
                            </div>
                        </div>
                        <div class="form-group role">
                            <div class="radio-inline">
                                <label><input type="radio">超级管理员</label>
                            </div>
                            <div class="radio-inline">
                                <label><input type="radio">普通用户</label>
                            </div>
                        </div>
                        <div class="form-group">
                            <button class="btn btn-primary add" type="submit">添加</button>
                        </div>
                    </form>
                </div>
                <div class="col-md-8">
                    <div class="page-action">
                        <!-- show when multiple checked -->
                        <a class="btn btn-danger btn-sm" href="javascript:;" style="display: none">批量删除</a>
                    </div>
                    <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th class="text-center" width="40"><input type="checkbox"></th>
                                <th class="text-center" width="80">头像</th>
                                <th>邮箱</th>
                                <th>昵称</th>
                                <th>状态</th>
                                <th>角色</th>
                                <th class="text-center" width="100">操作</th>
                            </tr>
                        </thead>
                        @@include('../comm/admin/users.html')
                    </table>
                </div>
            </div>
        </div>
    </div>

    <!-- 左侧导航栏 -->
    @@include('../comm/left-nav.html')

    <script src="../assets/js/admin/users.js"></script>

    <script>
        NProgress.done()
    </script>
</body>

</html>